package com.itjin.health.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户信息更新请求
 */
@Data
@ApiModel(description = "用户信息更新请求")
public class UserUpdateInfoRequest {

  @ApiModelProperty(value = "用户名", example = "张三")
  private String username;

  @ApiModelProperty(value = "邮箱", example = "zhangsan@example.com")
  private String email;

  @ApiModelProperty(value = "手机号", example = "13800138000")
  private String phone;

  @ApiModelProperty(value = "旧密码，仅在需要修改密码时提供", example = "oldPassword123")
  private String oldPassword;

  @ApiModelProperty(value = "新密码，仅在需要修改密码时提供", example = "newPassword123")
  private String newPassword;

  @ApiModelProperty(value = "确认新密码，仅在需要修改密码时提供", example = "newPassword123")
  private String confirmPassword;
}